package com.kun.valiant.business.mapper;

import com.kun.valiant.business.domain.Business;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kun.valiant.business.domain.vo.BusinessSummary;
import com.kun.valiant.business.domain.vo.BusinessVO;
import com.kun.valiant.common.core.domain.model.EchartsPoint;

import java.util.List;

/**
 * <p>
 * 线索 Mapper 接口
 * </p>
 *
 * @author fangkun
 * @since 2023-06-14
 */
public interface BusinessMapper extends BaseMapper<Business> {

    List<BusinessSummary> getBusinessList(BusinessVO businessVO);

    List<EchartsPoint> increaseBusiness(BusinessVO businessVO);

    List<EchartsPoint> totalBusiness(BusinessVO businessVO);
}
